package com.smedi.ismedi.constructionproject.core.domain.repository;

import com.smedi.ismedi.constructionproject.core.domain.aggregatemodel.BidSectionConfigOrganization;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-8 10:56
 */
public interface BidSectionConfigOrganizationRepository {
    void deleteByBidSectionId(Long bidSectionId);

    BidSectionConfigOrganization doInsert(BidSectionConfigOrganization bidSectionConfigOrganization);

    List<BidSectionConfigOrganization> selectByBidSectionConfigIdOrderById(Long bidSectionConfigId);

    int selectProjectOrgUsedInBidSectionCount(Long projectOrgId);
}
